package com.ineatconseil.yougo.bo;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.document.mongodb.mapping.Document;

@Document
public class BaseEntity implements Serializable {

	private static final long serialVersionUID = -8920516245625049145L;

	protected BaseEntity() {
	}

	/**
	 * Primary Key
	 */
	@Id
	private String id;

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
